<!DOCTYPE html>
<html xmlns="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<base th:href="@{/}" />
<title>Insert title here</title>
<link rel="stylesheet" th:href="@{/css/bootstrap.min.css}"/>
<link rel="stylesheet" th:href="@{/css/Managerstyle.css}"/>
<script th:src="@{/js/jquery-3.4.1.min.js}"></script>
<script th:src="@{/js/bootstrap.min.js}"></script>
</head>
<body>
	
	<div class="contain">
		<h3>修改课程信息</h3>
		<div class="modify">
			<form action="mc/modifyCourse" method="post">
				<dl class="dl-horizontal">
					<dt>课程号：</dt>
					<dd><input type="text" name="cid" readonly="readonly" th:value="${course.cid}" class="form-control" style="width: 250px;"></dd>
					<br>
					<dt>课程名称：</dt>
					<dd><input type="text" required="required" name="cname" th:value="${course.cname}" class="form-control" style="width: 250px;"></dd>
					<br>
					<dt>开课学院：</dt>
					<dd>
						<select name="acdmid" >
							<option th:each="acadamy:${acadamylist}" th:value="${acadamy.acdmid}" th:text="|${acadamy.acdmname}|" class="form-control" style="width: 250px;"></option>
						</select>
					</dd>
					<br>
					<dt>课程类型：</dt>
					<dd>
						<select name="ctype" >
							<option value="必修">必修</option>
							<option value="选修 ">选修</option>
						</select>
					</dd>
					<br>
					<dt>学分：</dt>
					<dd><input type="number" min="1" max="20" step="0.5" name="credit" th:value="${course.credit}" class="form-control" style="width: 70px;"></dd>
					<br>
					<dt>考查方式：</dt>
					<dd>
						<select name="cmethod" >
							<option value="考试">考试</option>
							<option value="考查 ">考查</option>
						</select>
					</dd>
					<br>
					<dt>学时：</dt>
					<dd><input type="number" required="required" min="10" max="100"  name="ctime" th:value="${course.ctime}" class="form-control" style="width: 70px;"></dd>
					<br>
					<dt>详细学时：</dt>
					<dd><input type="text" name="ctimeDetail" th:value="${course.ctimeDetail}" class="form-control" style="width: 250px;"></dd>
					<br>
					<dt>描述：</dt>
					<dd><input type="text" name="description" th:value="${course.description}" class="form-control" style="width: 250px;"></dd>
				</dl>
				<input type="submit" class="btn btn-primary" value="提 交">
			</form>
		</div>
	</div>


</body>
</html>